<?php if (!defined('THINK_PATH')) exit(); /*a:7:{s:64:"E:\Project\help\public/../application/admin\view\index\index.php";i:1528792671;s:66:"E:\Project\help\public/../application/admin\view\layout\layout.php";i:1528792671;s:72:"E:\Project\help\public/../application/admin\view\public\header_style.php";i:1528792671;s:73:"E:\Project\help\public/../application/admin\view\public\header_navbar.php";i:1528793070;s:70:"E:\Project\help\public/../application/admin\view\public\breadcrumb.php";i:1528792671;s:66:"E:\Project\help\public/../application/admin\view\public\footer.php";i:1528792671;s:72:"E:\Project\help\public/../application/admin\view\public\footer_style.php";i:1528792671;}*/ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 2.3.1
Version: 1.3
Author: KeenThemes
Website: http://www.keenthemes.com/preview/?theme=metronic
Purchase: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469
-->
<!--[if IE 8]>
<html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]>
<html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" class="no-js"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <meta charset="utf-8"/>
    <title>管理后台</title>
    <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
    <meta content="" name="description"/>
    <meta content="" name="author"/>
    <link href="/static/metronic/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>

<link href="/static/metronic/css/bootstrap-responsive.min.css" rel="stylesheet"
      type="text/css"/>

<link href="/static/metronic/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>

<link href="/static/metronic/css/style-metro.css" rel="stylesheet" type="text/css"/>



<link href="/static/metronic/css/style.css" rel="stylesheet" type="text/css"/>

<link href="/static/metronic/css/style-responsive.css" rel="stylesheet" type="text/css"/>

<link href="/static/metronic/css/default.css" rel="stylesheet" type="text/css"
      id="style_color"/>
<link href="/static/metronic/css/uniform.default.css" rel="stylesheet" type="text/css"/>
<link href="/static/metronic/css/font-awesome/css/font-awesome.min.css" rel="stylesheet"
      type="text/css"/>

<link href="/static/css/ui-dialog.css" rel="stylesheet" type="text/css"/>
<link href="/static/css/viewer.min.css" rel="stylesheet" type="text/css"/>

<link rel="shortcut icon" href="/static/metronic/image/favicon.ico"/>
<style>
    .updatethis td {
        border-bottom: 1px solid red;
        border-top: 1px solid red;
    }

    .updatethis td:first-child {
        border-left: 1px solid red;
    }

    .updatethis td:last-child {
        border-right: 1px solid red;
    }
</style>
<?php
if (isset($res['css']) && $res['css']) {
    $res['css'] = explodeAdvanced($res['css']);//爆破去重去空
    foreach ($res['css'] as $r) {
        if (\app\admin\model\Res::$css[$r]) {
            ?>
            <link rel="stylesheet" type="text/css"
                  href="/static/<?php echo ltrim(\app\admin\model\Res::$css[$r], '/'); ?>"/>
            <?php
        }
    }
}
?>

</head>
<body class="page-header-fixed">
<div class="header navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container-fluid">
            <a class="brand" href="#">
                <!--<img src="/static/metronic/image/title.jpg" style="width: 80px;height: 26px"/>-->
            </a>
            <a href="javascript:;" class="btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">
                <img src="/static/metronic/image/menu-toggler.png" alt=""/>
            </a>
            <ul class="nav pull-right">
                <li class="dropdown user">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <?php if((empty($curAdmin['avatar']))): ?>
                        <img alt="" src="<?php echo \think\Config::get('web_admin_url'); ?>/file/general/avatar/avatar.jpg"
                             style="width: 29px;height: 29px"/>
                        <?php else: ?>
                        <img alt="" src="<?php echo \think\Config::get('web_admin_url'); ?>/file/general/avatar/<?php echo imgSize($curAvatar,50,50); ?>"
                             style="width: 29px;height: 29px"/>
                        <?php endif; ?>
                        <span class="username"><?php echo $curAdmin['nickname']; ?></span>
                        <i class="icon-angle-down"></i>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="<?php echo \think\Config::get('web_admin'); ?>/admin"><i class="icon-user"></i>个人中心</a></li>
                        <li><a href="<?php echo \think\Config::get('web_admin'); ?>/admin/login/logout"><i class="icon-key"></i>退出登录</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</div>
<div class="page-container" id="pageContainerForAll">
    <div class="page-sidebar nav-collapse collapse">
        <?php echo widget('SidebarMenu/Index'); ?>
    </div>
    <div class="page-content">
        <div id="portlet-config" class="modal hide">
            <div class="modal-header">
                <button data-dismiss="modal" class="close" type="button"></button>
                <h3>Widget Settings</h3>
            </div>
            <div class="modal-body">
                Widget settings form goes here
            </div>
        </div>
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span12">
                    <h3 class="page-title">
                        <small>益狗..管理后台</small>
                    </h3>
                    <ul class="breadcrumb">
    <li>
        <i class="icon-home"></i>
        管理后台
        <?php if((!empty($bread))): ?>
        <i class="icon-angle-right"></i>
        <?php endif; ?>
    </li>
    <?php if(is_array($bread) || $bread instanceof \think\Collection || $bread instanceof \think\Paginator): $key = 0; $__LIST__ = $bread;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($key % 2 );++$key;?>
    <li><?php echo $val; if(($key<count($bread))): ?>
        <i class="icon-angle-right"></i>
        <?php endif; ?>
    </li>
    <?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
                </div>
            </div>
            <?php if((isset($data))): ?>
<div class="row-fluid">
    <div data-desktop="span3" data-tablet="span6" class="span3 responsive">
        <div class="dashboard-stat blue">
            <div class="visual">
                <i class="icon-user"></i>
            </div>
            <div class="details">
                <div class="number">
                    <?php echo $data['users']; ?>
                </div>
                <div class="desc">
                    商户数
                </div>
            </div>
        </div>
    </div>
    <div data-desktop="span3" data-tablet="span6" class="span3 responsive">
        <div class="dashboard-stat blue">
            <div class="visual">
                <i class="icon-user"></i>
            </div>
            <div class="details">
                <div class="number"><?php echo $data['user_today']; ?></div>
                <div class="desc">当日新增商户数</div>
            </div>
        </div>
    </div>
    <div data-desktop="span3" data-tablet="span6  fix-offset" class="span3 responsive">
        <div class="dashboard-stat purple">
            <div class="visual">
                <i class="icon-user-md"></i>
            </div>
            <div class="details">
                <div class="number"><?php echo $data['buyers']; ?></div>
                <div class="desc">顾客总数</div>
            </div>
        </div>
    </div>
    <div data-desktop="span3" data-tablet="span6" class="span3 responsive">
        <div class="dashboard-stat yellow">
            <div class="visual">
                <i class="icon-cny"></i>
            </div>
            <div class="details">
                <div class="number">￥<?php echo $data['asset']; ?></div>
                <div class="desc">平台余额</div>
            </div>
        </div>
    </div>
</div>
<div class="row-fluid">
    <div data-desktop="span3" data-tablet="span6" class="span3 responsive">
        <div class="dashboard-stat green">
            <div class="visual">
                <i class="icon-shopping-cart"></i>
            </div>
            <div class="details">
                <div class="number">
                    <?php echo $data['order_today']; ?>
                </div>
                <div class="desc">
                    当日订单数
                </div>
            </div>
        </div>
    </div>
    <div data-desktop="span3" data-tablet="span6" class="span3 responsive">
        <div class="dashboard-stat green">
            <div class="visual">
                <i class="icon-shopping-cart"></i>
            </div>
            <div class="details">
                <div class="number"><?php echo $data['order_week']; ?></div>
                <div class="desc">一周订单数</div>
            </div>
        </div>
    </div>
    <div data-desktop="span3" data-tablet="span6  fix-offset" class="span3 responsive">
        <div class="dashboard-stat green">
            <div class="visual">
                <i class="icon-shopping-cart"></i>
            </div>
            <div class="details">
                <div class="number"><?php echo $data['order_month']; ?></div>
                <div class="desc">30天订单数</div>
            </div>
        </div>
    </div>
</div>
<div class="row-fluid">
    <div  class="span12">
        <div id="main" style="width: auto;height:500px;">

        </div>
    </div>
</div>
<?php endif; ?>
        </div>
    </div>
</div>
<div class="footer">
    <div class="footer-inner">
       <!-- 2013 &copy; Metronic by keenthemes.-->
        Copyright©2017江苏云庄汇产业管理有限公司 All Rights Reserved
    </div>
    <div class="footer-tools">
			<span class="go-top">
			<i class="icon-angle-up"></i>
			</span>
    </div>
</div>
<!-- BEGIN CORE PLUGINS -->
<script src="/static/metronic/js/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="/static/metronic/js/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script src="/static/metronic/js/jquery-ui-1.10.1.custom.min.js"
        type="text/javascript"></script>
<script src="/static/metronic/js/bootstrap.min.js" type="text/javascript"></script>
<!--[if lt IE 9]>
<script src="/static/metronic/js/excanvas.min.js"></script>
<script src="/static/metronic/js/respond.min.js"></script>
<![endif]-->
<script src="/static/metronic/js/jquery.slimscroll.min.js" type="text/javascript"></script>
<script src="/static/metronic/js/jquery.blockui.min.js" type="text/javascript"></script>
<script src="/static/metronic/js/jquery.cookie.min.js" type="text/javascript"></script>
<script src="/static/metronic/js/jquery.uniform.min.js" type="text/javascript"></script>
<!-- END CORE PLUGINS -->
<script src="/static/metronic/js/app.js" type="text/javascript"></script>
<script src="/static/js/dialog-min.js" type="text/javascript"></script>
<script src="/static/js/jquery.validate.js" type="text/javascript"></script>
<script src="/static/js/validate-methods.js" type="text/javascript"></script>
<script src="/static/js/layer/layer.js" type="text/javascript"></script>
<script src="/help.js" type="text/javascript"></script>
<script src="/static/js/admin/common.js" type="text/javascript"></script>
<script type="text/javascript" src="http://api.map.baidu.com/getscript?v=1.2&ak=293YYtd7X13WphdOyloySdP5M11neeO9&services=&t=20130716024057"></script>
<script src="/static/js/viewer-jquery.min.js"></script>
<script>
    $(function() {
        $('#pageContainerForAll').viewer({
            url: 'src'
        });
    });
</script>
<?php
if (isset($res['js']) && $res['js']) {
    $define = explodeAdvanced($res['js']);
    foreach ($define as $d) {
        if (\app\admin\model\Res::$js[$d]) {
            ?>
            <script type="text/javascript"
                    src="/static/<?php echo ltrim(\app\admin\model\Res::$js[$d], '/'); ?>"
            ></script>
            <?php
        }
    }
}
$has = static_name(PUBLIC_PATH . '/static/js/');
if ($has) {
    ?>
    <script type="text/javascript"
            src="/static/js/<?php echo $has . '.js'; ?>"
    ></script>
    <?php
}
?>

</body>
</html>